xsm/flask: Use correct flag to detect writable grant mappings
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 22 Nov 2011 13:29:01 +0000 (13:29 +0000)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 22 Nov 2011 13:29:01 +0000 (13:29 +0000)
commite7e7a8626797ff675113a2f3623680ee56871212
tree66a96f395f84f5a955f885e73284c2659ed3bb28
parent9c46139de889bc77571fe5ee7f000927d4aff24e
xsm/flask: Use correct flag to detect writable grant mappings

The flags passed to xsm_grant_mapref are the flags from the map
operation (GNTMAP_*), not status flags (GTF_*).

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
xen/xsm/flask/hooks.c